import Vue from 'vue'
import VueRouter from 'vue-router'

import StudentList from '@/views/StudentList.vue'
import ELStudentList from '@/views/EL-StudentList.vue'
import Index from '@/views/Index.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: Index,
    children:[
      {        
          path: '/s',
          name: 's',
          component: ELStudentList        
      },
      {        
        path: '/std',
        name: 'std',
        component: StudentList
    },
    ]
  },

  

]

const router = new VueRouter({
  routes  
})

export default router
